export const registerEvent = (graphModel, eventMap) => {
  onMounted(() => {
    eventMap.forEach((value, key) => {
      graphModel.eventCenter.on(key, value)
    })
  })
}
